package com.example.fms.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.example.fms.utils.UserVo;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@TableName("goods")
public class Goods  extends UserVo {
    //id
    @TableId(type = IdType.AUTO)
    @TableField("goods_id")
    private Long goodsId;

    @TableField("goods_name")
    private String goodsName;

    @TableField("goods_price")
    private Integer goodsPrice;

    @TableField("goods_number")
    private Integer goodsNumber;

    @TableField("goods_cat")
    private String goodsCat;

    @TableField("goods_weight")
    private Integer goodsWeight;

    @TableField("goods_state")
    private Integer goodsState;

    @TableField("add_time")
    private Date addTime;

    @TableField("upd_time")
    private Date updTime;

    @TableField("goods_introduce")
    private String goodsIntroduce;

    @TableField("hot_number")
    private Integer hotNumber;
    @TableField("is_promote")
    private Integer isPromote;



    @TableField("name")
    private String name;
    @TableField("gender")
    private String gender;
    @TableField("age")
    private String age;
    @TableField("baseCity")
    private String baseCity;
    @TableField("education")
    private String education;
    @TableField("work")
    private String work;


}
